import request from '@/utils/request'

// 查询汇付支付商家支付记录列表
export function listAdapayRecordB(query) {
  return request({
    url: '/adapayRecordB/adapayRecordB/list',
    method: 'get',
    params: query
  })
}

// 查询汇付支付商家支付记录详细
export function getAdapayRecordB(id) {
  return request({
    url: '/adapayRecordB/adapayRecordB/' + id,
    method: 'get'
  })
}

// 新增汇付支付商家支付记录
export function addAdapayRecordB(data) {
  return request({
    url: '/adapayRecordB/adapayRecordB',
    method: 'post',
    data: data
  })
}

// 修改汇付支付商家支付记录
export function updateAdapayRecordB(data) {
  return request({
    url: '/adapayRecordB/adapayRecordB',
    method: 'put',
    data: data
  })
}

// 删除汇付支付商家支付记录
export function delAdapayRecordB(id) {
  return request({
    url: '/adapayRecordB/adapayRecordB/' + id,
    method: 'delete'
  })
}
// 删除汇付支付商家支付记录
export function logicDelAdapayRecordB(id) {
  return request({
    url: '/adapayRecordB/adapayRecordB/' + id,
    method: 'delete'
  })
}

// 导出汇付支付商家支付记录
export function exportAdapayRecordB(query) {
  return request({
    url: '/adapayRecordB/adapayRecordB/export',
    method: 'get',
    params: query
  })
}
